package cn.bqjr.platform;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import cn.bqjr.platform.config.CxfConfig;


// Spring Boot 应用的标识
@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        // 程序启动入口
        // 启动嵌入式的 Tomcat 并初始化 Spring 环境及其各 Spring 组件
        SpringApplication.run(Application.class,args);
        
    }
 
    //webService配置
	@Bean
	public CxfConfig CxfConfigInit(){
		return new CxfConfig();
	}

    
}
